/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.jr2tecnologia.model.repository;

import br.com.jr2tecnologia.model.entity.Company;
import java.util.List;

/**
 *
 * @author ronildo
 */
public interface CompanyRepository extends GenericRepository<Company>{

    public Company findById(Long id);

    public Company findByName(String name);

    public List<Company> list(Company company);

    public List<Company> listAll();

}
